//
//  UIButton+Category.h
//  OralRobot
//
//  Created by 王桂敏 on 16/4/1.
//  Copyright © 2016年 huayingdai. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Category)

/**
 *  右标题 左图片 按钮
 */

+ (UIButton *)buttonOfHorizontal1ForNormalWithImage:(NSString *)imageName
                                              title:(NSString *)title
                                              frame:(CGRect)frame
                                             target:(id)target
                                             action:(SEL)action
                                         titleColor:(UIColor *)titleColor
                                     backgroudColor:(UIColor *)backgroudColor
                                               font:(UIFont *)font;

/**
 *  左标题 右图片 按钮
 */

+ (UIButton *)buttonOfHorizontalForNormalWithImage:(NSString *)imageName
                                             title:(NSString *)title
                                             frame:(CGRect)frame
                                            target:(id)target
                                            action:(SEL)action
                                        titleColor:(UIColor *)titleColor
                                    backgroudColor:(UIColor *)backgroudColor
                                              font:(UIFont *)font;

/**
 *  图文垂直排版按钮创建的类方法
 */
+ (UIButton *)buttonOfVerticalOForNormalWithImage:(NSString *)imageName
                                            title:(NSString *)title
                                            frame:(CGRect)frame
                                           target:(id)target
                                           action:(SEL)action
                                       titleColor:(UIColor *)titleColor
                                   backgroudColor:(UIColor *)backgroudColor
                                             font:(UIFont *)font;
/**
 *  图片按钮创建的类方法
 */
+ (UIButton *)buttonOfImageForNormalWithImage:(NSString *)imageName
                                        frame:(CGRect)frame
                                       target:(id)target
                                       action:(SEL)action;
/**
 *  文字按钮创建的类方法
 */
+ (UIButton *)buttonOfTitleForNormalWithTitle:(NSString *)title
                                        frame:(CGRect)frame
                                       target:(id)target
                                       action:(SEL)action
                                   titleColor:(UIColor *)titleColor
                               backgroudColor:(UIColor *)backgroudColor
                                         font:(UIFont *)font;
@end
